<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="csrf-token" content="{{ csrf_token() }}">


        <script src="{{asset('node_modules/jquery/dist/jquery.min.js')}}"></script>
        <link href="{{asset("node_modules/bootstrap/dist/css/bootstrap.min.css")}}" rel="stylesheet">
        <script src="{{asset("node_modules/bootstrap/dist/js/bootstrap.min.js")}}"></script>
        <link rel="stylesheet" href="{{asset('admin/styles/admin.css')}}">
        <script src="{{asset('admin/js/admin.js')}}"></script>

    </head>
    <body>
        <div class="main-container">
            @yield('content')
        </div>
    </body>
</html>

<script>
    var backbtn = document.querySelector('.back');
        if(backbtn){
            backbtn.onclick=function(){
                window.history.back();
            }
        }

    var reloadBtn = document.querySelector('.reload');
        if(reloadBtn)
        {
            reloadBtn.onclick = function()
            {
                location.reload();
            }
        }
    var _system = {
        host:"{{asset('')}}",
    };
</script>